package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallMallitemcenterSubscribeQuerySpb2bOderQuery struct {
	/*
	   开始日期     */
	StartDate *util.LocalTime `json:"start_date,omitempty" `

	/*
	   服务状态     */
	Status *int64 `json:"status,omitempty" `

	/*
	   是否分页 defalutValue:false    */
	NeedByPage *bool `json:"need_by_page,omitempty" `

	/*
	   每页个数     */
	PageSize *int64 `json:"page_size,omitempty" `

	/*
	   结束日期     */
	EndDate *util.LocalTime `json:"end_date,omitempty" `

	/*
	   最后条数 defalutValue:0    */
	EndRow *int64 `json:"end_row,omitempty" `

	/*
	   售卖商昵称     */
	SellerNick *string `json:"seller_nick,omitempty" `

	/*
	   开始条数 defalutValue:0    */
	StartRow *int64 `json:"start_row,omitempty" `

	/*
	   售卖商id     */
	SellerId *int64 `json:"seller_id,omitempty" `

	/*
	   服务code     */
	ServiceCode *string `json:"service_code,omitempty" `

	/*
	   当前页     */
	CurrentPage *int64 `json:"current_page,omitempty" `

	/*
	   是否查询新供给ssc订购数据 defalutValue:false    */
	NewSupplySubscriberData *bool `json:"new_supply_subscriber_data,omitempty" `
}

func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetStartDate(v util.LocalTime) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.StartDate = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetStatus(v int64) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.Status = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetNeedByPage(v bool) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.NeedByPage = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetPageSize(v int64) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.PageSize = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetEndDate(v util.LocalTime) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.EndDate = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetEndRow(v int64) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.EndRow = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetSellerNick(v string) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.SellerNick = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetStartRow(v int64) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.StartRow = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetSellerId(v int64) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.SellerId = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetServiceCode(v string) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.ServiceCode = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetCurrentPage(v int64) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.CurrentPage = &v
	return s
}
func (s *TmallMallitemcenterSubscribeQuerySpb2bOderQuery) SetNewSupplySubscriberData(v bool) *TmallMallitemcenterSubscribeQuerySpb2bOderQuery {
	s.NewSupplySubscriberData = &v
	return s
}
